package com.todod.model;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * <p>
 * 
 * </p>
 *
 * @author gsh
 * @since 2020-11-16
 */
@TableName("LTCLOUD_ZSGL_DB_DEV.sys_menu")
public class Menu implements Serializable {

	private static final long serialVersionUID = 1L;

	@TableId("sm_id")
	private Long id;

	/**
	 * 上级菜单
	 */
	@TableField("sm_parent_id")
	private Long parentId;

	/**
	 * name
	 */
	@TableField("sm_name")
	private String name;

	/**
	 * 路由
	 */
	@TableField("sm_path")
	private String path;

	@TableField("sm_hidden")
	private String hidden;

	/**
	 * 页面路径
	 */
	@TableField("sm_component")
	private String component;

	/**
	 * redirect
	 */
	@TableField("sm_redirect")
	private String redirect;

	/**
	 * alwaysShow
	 */
	@TableField("sm_always_show")
	private String alwaysShow;

	/**
	 * title
	 */
	@TableField("sm_title")
	private String title;

	/**
	 * icon
	 */
	@TableField("sm_icon")
	private String icon;

	/**
	 * noCache
	 */
	@TableField("sm_no_cache")
	private String noCache;

	/**
	 * breadcrumb
	 */
	@TableField("sm_breadcrumb")
	private String breadcrumb;

	/**
	 * affix
	 */
	@TableField("sm_affix")
	private String affix;

	/**
	 * activeMenu
	 */
	@TableField("sm_active_menu")
	private String activeMenu;
	/**
	 * 排序号
	 */
	@TableField("sm_sort_num")
	private Integer sortNum;

	/**
	 * 创建用户id
	 */
	@TableField("sm_create_user_id")
	private Long createUserId;

	/**
	 * 创建时间
	 */
	@TableField("sm_create_time")
	private LocalDateTime createTime;

	/**
	 * 修改用户名id
	 */
	@TableField("sm_modify_user_id")
	private Long modifyUserId;

	/**
	 * 修改时间
	 */
	@TableField("sm_modify_time")
	private LocalDateTime modifyTime;

	@TableField("sm_get_flag")
	private String getFlag;

	@TableField("sm_get_batch")
	private String getBatch;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getParentId() {
		return parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getHidden() {
		return hidden;
	}

	public void setHidden(String hidden) {
		this.hidden = hidden;
	}

	public String getComponent() {
		return component;
	}

	public void setComponent(String component) {
		this.component = component;
	}

	public String getRedirect() {
		return redirect;
	}

	public void setRedirect(String redirect) {
		this.redirect = redirect;
	}

	public String getAlwaysShow() {
		return alwaysShow;
	}

	public void setAlwaysShow(String alwaysShow) {
		this.alwaysShow = alwaysShow;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getNoCache() {
		return noCache;
	}

	public void setNoCache(String noCache) {
		this.noCache = noCache;
	}

	public String getBreadcrumb() {
		return breadcrumb;
	}

	public void setBreadcrumb(String breadcrumb) {
		this.breadcrumb = breadcrumb;
	}

	public String getAffix() {
		return affix;
	}

	public void setAffix(String affix) {
		this.affix = affix;
	}

	public String getActiveMenu() {
		return activeMenu;
	}

	public void setActiveMenu(String activeMenu) {
		this.activeMenu = activeMenu;
	}

	public Long getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}

	public LocalDateTime getCreateTime() {
		return createTime;
	}

	public void setCreateTime(LocalDateTime createTime) {
		this.createTime = createTime;
	}

	public Long getModifyUserId() {
		return modifyUserId;
	}

	public void setModifyUserId(Long modifyUserId) {
		this.modifyUserId = modifyUserId;
	}

	public LocalDateTime getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(LocalDateTime modifyTime) {
		this.modifyTime = modifyTime;
	}

	public String getGetFlag() {
		return getFlag;
	}

	public void setGetFlag(String getFlag) {
		this.getFlag = getFlag;
	}

	public String getGetBatch() {
		return getBatch;
	}

	public void setGetBatch(String getBatch) {
		this.getBatch = getBatch;
	}

	public Integer getSortNum() {
		return sortNum;
	}

	public void setSortNum(Integer sortNum) {
		this.sortNum = sortNum;
	}

	@Override
	public String toString() {
		return "Menu [id=" + id + ", parentId=" + parentId + ", name=" + name + ", path=" + path + ", hidden=" + hidden
				+ ", component=" + component + ", redirect=" + redirect + ", alwaysShow=" + alwaysShow + ", title="
				+ title + ", icon=" + icon + ", noCache=" + noCache + ", breadcrumb=" + breadcrumb + ", affix=" + affix
				+ ", activeMenu=" + activeMenu + ", sortNum=" + sortNum + ", createUserId=" + createUserId
				+ ", createTime=" + createTime + ", modifyUserId=" + modifyUserId + ", modifyTime=" + modifyTime
				+ ", getFlag=" + getFlag + ", getBatch=" + getBatch + "]";
	}

}
